<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户登录</title>
</head>
<body>
	<h2>默认登录页面</h2>
	<h3>表单登录</h3>
	<form action="/authentication/form" method="post">
		<table>
			<tr>
				<td>用户名：</td>
				<td><input type="text" name="username"></td>
			</tr>
			<tr>
				<td>密码：</td>
				<td><input type="password" name="password"></td>
			</tr>
			<tr>
				<td>验证码：</td>
				<td>
					<input type="text" name="imageCode">
					<img alt="验证码" src="/code/image?width=100">
				</td>
			</tr>
			<tr>
				<td>
					<input type="checkbox" name="remember-me">
				</td>
				<td>记住我</td>

			</tr>
			<tr>
				<td colspan="2"><button type="submit">登录</button> </td>
			</tr>
		</table>
	</form>
	
	<h3>短信登录</h3>
	<form action="/authentication/mobile" method="post">
		<table>
			<tr>
				<td>手机号：</td>
				<td><input type="text" name="mobile" value="13111111111"></td>
			</tr>
			<tr>
				<td>短信验证码：</td>
				<td>
					<input type="text" name="smsCode">
					<a href="/code/sms?mobile=13111111111">发送验证码</a>
				</td>
			</tr>
			<tr>
				<td colspan="2"><button type="submit">登录</button> </td>
			</tr>
		</table>
	</form>
</body>
</html>